{/* LAYOUT模板 */}
	<layout name="layout"/>
{/* LAYOUT模板 */}

{/* import Js,Css */}
	<js href="__PUBLIC__/js/admin/listTable.js"/>
	<js href="__PUBLIC__/js/admin/js.util.js"/>
	<css href="__PUBLIC__/css/admin/common.css"/>
	<js href="__PUBLIC__/js/admin/js.selectzone.js"/>
	
	<css href="__PUBLIC__/css/jquery-ui.css" />
	<js href="__PUBLIC__/js/core/jquery-ui.1.10.4.js" />
	<js href="__PUBLIC__/js/core/plugins.js"/>
{/* import js,Css */}

<!-- [position] -->
	<include file="Template:position"/>
<!-- [position] -->
<!-- [position] -->
	<include file="Library:filter_delivery"/>
<!-- [position] -->

<form method="post" action="order.php?act=operate" name="listForm" onsubmit="return check()">
	<div class="list-div" id="listDiv">
		<table class="table" cellpadding="3" cellspacing="1" width="100%">
			<tbody>
				<tr>
					<th align="left">
						<input onclick="listTable.selectAll(this, &quot;delivery_id&quot;)" type="checkbox"><a href="javascript:listTable.sort('delivery_sn', 'DESC');">发货单流水号</a>    
					</th>
					<th align="left"><a href="javascript:listTable.sort('order_sn', 'DESC');">订单号</a></th>
					<th><a href="javascript:listTable.sort('add_time', 'DESC');">下单时间</a></th>
					<th><a href="javascript:listTable.sort('consignee', 'DESC');">收货人</a></th>
					<th><a href="javascript:listTable.sort('update_time', 'DESC');">发货时间</a><img src="__PUBLIC__/Image/Admin/sort_desc.gif"></th>
					<th>供货商</th>
					<th>发货单状态</th>
					<th>操作人</th>
					<th>操作</th>
				</tr>
				<volist name="deliveryList" id="delivery">
				<tr>
					<td valign="top" nowrap="nowrap" style="background-color: rgb(255, 255, 255);">
						<input type="checkbox" name="delivery_id[]" value="5">{$delivery.delivery_sn}
					</td>
					<td style="background-color: rgb(255, 255, 255);">{$delivery.order_sn}<br></td>
					<td align="center" valign="top" nowrap="nowrap" style="background-color: rgb(255, 255, 255);">{$delivery.add_time}</td>
					<td align="center" valign="top" style="background-color: rgb(255, 255, 255);"><a href="mailto:ecshop@ecshop.com">{$delivery.consignee}</a></td>
					<td align="center" valign="top" nowrap="nowrap" style="background-color: rgb(255, 255, 255);">{$delivery.update_time}</td>
					<td align="center" valign="top" nowrap="nowrap" style="background-color: rgb(255, 255, 255);">{$delivery.suppliers_name}</td>
					<td align="center" valign="top" nowrap="nowrap" style="background-color: rgb(255, 255, 255);">{$delivery.status_name}</td>
					<td align="center" valign="top" nowrap="nowrap" style="background-color: rgb(255, 255, 255);">{$delivery.action_user}</td>
					<td align="center" valign="top" nowrap="nowrap" style="background-color: rgb(255, 255, 255);">
						<a href="__URL__/delivery_info?delivery_id={$delivery.delivery_id}">查看</a>
						<a onclick="if(confirm('您确定要删除吗？')){return true;}return false;" href="__URL__/operate?remove_invoice=1&delivery_id=5">移除</a>
					</td>
				</tr>
				</volist>
			</tbody>
		</table>
	</div>
	<div>
		<input name="remove_invoice" class="btn btn-default" type="submit" id="btnSubmit3" value="移除" disabled="true" onclick="{if(confirm('您确定要删除吗？')){return true;}return false;}">
	</div>
</form>